package logic.teacherQuery_logic;

import po.CourseAssistPO;
import po.CourseBasicPO;
import po.CoursePublishPO;
import vo.CourseVO;

public class GetCourse {
	
	public static CourseVO getCourseVO(String teacherID,String courseID){
		return new CourseVO(getBasicCoursePO(teacherID, courseID),getPublishPO(teacherID, courseID),getAssistPO(teacherID, courseID));	}
	private static CourseBasicPO getBasicCoursePO(String teacherID,String courseID){
		return new CourseBasicPO(courseID,"ruan",1,2,"xiianlin","12345",200);
	}
	private static CoursePublishPO getPublishPO(String teacherID,String courseID){
		return new CoursePublishPO(courseID,teacherID,"1,2","xian2");
	}
	private static CourseAssistPO getAssistPO(String teacherID,String courseID){
		return new CourseAssistPO(courseID, "duodushu", "ruangong1", "thinking in java");
	}
}
